package cn.zust.edu.dao;

import cn.zust.edu.model.UserModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    @Select("select * from tuser where id=#{userId}")
    UserModel getUserById(@Param("userId") int id);
}
